<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>zlib::error</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Beast">
<link rel="up" href="../ref.html" title="This Page Intentionally Left Blank 2/2">
<link rel="prev" href="boost__beast__zlib__Strategy.html" title="zlib::Strategy">
<link rel="next" href="boost__beast__zlib__Byte.html" title="zlib::Byte">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="boost__beast__zlib__Strategy.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ref.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="boost__beast__zlib__Byte.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="beast.ref.boost__beast__zlib__error"></a><a class="link" href="boost__beast__zlib__error.html" title="zlib::error">zlib::error</a>
</h4></div></div></div>
<p>
        <a class="indexterm" name="idm91055"></a>
      </p>
<p>
        Error codes returned by the deflate codecs.
      </p>
<h5>
<a name="beast.ref.boost__beast__zlib__error.h0"></a>
        <span class="phrase"><a name="beast.ref.boost__beast__zlib__error.synopsis"></a></span><a class="link" href="boost__beast__zlib__error.html#beast.ref.boost__beast__zlib__error.synopsis">Synopsis</a>
      </h5>
<p>
        Defined in header <code class="literal">&lt;<a href="../../../../../../boost/beast/zlib/error.hpp" target="_top">boost/beast/zlib/error.hpp</a>&gt;</code>
      </p>
<pre class="programlisting"><span class="keyword">enum</span> <span class="identifier">error</span>
</pre>
<h5>
<a name="beast.ref.boost__beast__zlib__error.h1"></a>
        <span class="phrase"><a name="beast.ref.boost__beast__zlib__error.values"></a></span><a class="link" href="boost__beast__zlib__error.html#beast.ref.boost__beast__zlib__error.values">Values</a>
      </h5>
<div class="informaltable"><table class="table">
<colgroup>
<col>
<col>
</colgroup>
<thead><tr>
<th>
                <p>
                  Name
                </p>
              </th>
<th>
                <p>
                  Description
                </p>
              </th>
</tr></thead>
<tbody>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">need_buffers</span></code>
                </p>
              </td>
<td>
                <p>
                  Additional buffers are required.
                </p>
                <p>
                  This error indicates that one or both of the buffers provided buffers
                  do not have sufficient available bytes to make forward progress.
                </p>
                <p>
                  This does not always indicate a failure condition.
                </p>
                <p>
                  @note This is the same as <code class="computeroutput"><span class="identifier">Z_BUF_ERROR</span></code>
                  returned by ZLib.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">end_of_stream</span></code>
                </p>
              </td>
<td>
                <p>
                  End of stream reached.
                </p>
                <p>
                  @note This is the same as <code class="computeroutput"><span class="identifier">Z_STREAM_END</span></code>
                  returned by ZLib.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">need_dict</span></code>
                </p>
              </td>
<td>
                <p>
                  Preset dictionary required.
                </p>
                <p>
                  This error indicates that a preset dictionary was not provided
                  and is now needed at this point.
                </p>
                <p>
                  This does not always indicate a failure condition.
                </p>
                <p>
                  @note This is the same as <code class="computeroutput"><span class="identifier">Z_NEED_DICT</span></code>
                  returned by ZLib.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">stream_error</span></code>
                </p>
              </td>
<td>
                <p>
                  Invalid stream or parameters.
                </p>
                <p>
                  This error is returned when invalid parameters are passed, or the
                  operation being performed is not consistent with the state of the
                  stream. For example, attempting to write data when the end of stream
                  is already reached.
                </p>
                <p>
                  @note This is the same as <code class="computeroutput"><span class="identifier">Z_STREAM_ERROR</span></code>
                  returned by ZLib.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">invalid_block_type</span></code>
                </p>
              </td>
<td>
                <p>
                  Invalid block type.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">invalid_stored_length</span></code>
                </p>
              </td>
<td>
                <p>
                  Invalid stored block length.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">too_many_symbols</span></code>
                </p>
              </td>
<td>
                <p>
                  Too many length or distance symbols.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">invalid_code_lengths</span></code>
                </p>
              </td>
<td>
                <p>
                  Invalid code lengths.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">invalid_bit_length_repeat</span></code>
                </p>
              </td>
<td>
                <p>
                  Invalid bit length repeat.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">missing_eob</span></code>
                </p>
              </td>
<td>
                <p>
                  Missing end of block code.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">invalid_literal_length</span></code>
                </p>
              </td>
<td>
                <p>
                  Invalid literal/length code.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">invalid_distance_code</span></code>
                </p>
              </td>
<td>
                <p>
                  Invalid distance code.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">invalid_distance</span></code>
                </p>
              </td>
<td>
                <p>
                  Invalid distance too far back.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">over_subscribed_length</span></code>
                </p>
              </td>
<td>
                <p>
                  Over-subscribed length code.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">incomplete_length_set</span></code>
                </p>
              </td>
<td>
                <p>
                  Incomplete length set.
                </p>
              </td>
</tr>
<tr>
<td>
                <p>
                  <code class="computeroutput"><span class="identifier">general</span></code>
                </p>
              </td>
<td>
                <p>
                  general error
                </p>
              </td>
</tr>
</tbody>
</table></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2016-2019 Vinnie
      Falco<p>
        Distributed under the Boost Software License, Version 1.0. (See accompanying
        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
      </p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="boost__beast__zlib__Strategy.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ref.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="boost__beast__zlib__Byte.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
